Re: [NTG-context] Node for startbuffer.

2013-01-31 Thread Sietse Brouwer
Hi André, Anyone can suggest a category for it? http://wiki.contextgarden.net/Category:Commands Nodes? Yep. Creating [[Category:Command/Nodes]] seems like a good idea. To create the command page, navigate to the intended title (e.g. Command/boxmarker), click ‘Create’ in the top right, and

Re: [NTG-context] Node for startbuffer.

2013-01-29 Thread Andre Caldas
It's somewhat experimental. Up to you to update the wiki. Anyone can suggest a category for it? http://wiki.contextgarden.net/Category:Commands Nodes? André Caldas. ___ If your question is of interest to others as

Re: [NTG-context] Node for startbuffer.

2013-01-13 Thread Hans Hagen
On 1/12/2013 3:49 PM, Andre Caldas wrote: I've added the markers code to the beta so that we have an abstract way to deal with such matters. [...] Node lists are processed \hbox \boxmarker{mymarker}{1} {nested from [...] Does it have to be an hbox? no, but only a few node types make sense ..

Re: [NTG-context] Node for startbuffer.

2013-01-12 Thread Andre Caldas
I've added the markers code to the beta so that we have an abstract way to deal with such matters. [...] Node lists are processed \hbox \boxmarker{mymarker}{1} {nested from [...] Does it have to be an hbox? It's somewhat experimental. Up to you to update the wiki. I've never updated the

Re: [NTG-context] Node for startbuffer.

2013-01-10 Thread Andre Caldas
How do I identify a specific node? Like... [...] Here is a start. I've added the markers code to the beta so that we have an abstract way to deal with such matters. [...] \hbox \boxmarker{mymarker}{2} Can't the mark be a string? André Caldas.

Re: [NTG-context] Node for startbuffer.

2013-01-10 Thread Hans Hagen
On 1/10/2013 1:18 PM, Andre Caldas wrote: How do I identify a specific node? Like... [...] Here is a start. I've added the markers code to the beta so that we have an abstract way to deal with such matters. [...] \hbox \boxmarker{mymarker}{2} Can't the mark be a string? currently not (not

[NTG-context] Node for startbuffer.

2013-01-09 Thread Andre Caldas
Hello! Given some \startbuffer Blah, blah, blah... \stopbuffer I'd like to get a node tree corresponding to how the buffer would be processed at a given point. Using luatex, I'd like to identify certain sub-nodes and change their attributes (to be specific: transparency). Any hint on how

Re: [NTG-context] Node for startbuffer.

2013-01-09 Thread Hans Hagen
On 1/9/2013 2:54 PM, Andre Caldas wrote: Hello! Given some \startbuffer Blah, blah, blah... \stopbuffer I'd like to get a node tree corresponding to how the buffer would be processed at a given point. Using luatex, I'd like to identify certain sub-nodes and change their attributes

Re: [NTG-context] Node for startbuffer.

2013-01-09 Thread Andre Caldas
here's an example (I'll add it to the cld manual): Wow!!! Thank you for your time, Hans! I will study your sample... :-) Cheers, André Caldas. ___ If your question is of interest to others as well, please add an

Re: [NTG-context] Node for startbuffer.

2013-01-09 Thread Andre Caldas
Another question... function userdata.processmystuff(head) Shall I use this? userdata = userdata or {} \startbuffer whatever \hbox{you} want \stopbuffer How do I identify a specific node? Like... \startbuffer Will this be \boxtobechanged{transparent?} \stopbuffer André Caldas

Re: [NTG-context] Node for startbuffer.

2013-01-09 Thread Hans Hagen
On 1/9/2013 9:57 PM, Andre Caldas wrote: Another question... function userdata.processmystuff(head) Shall I use this? userdata = userdata or {} \startbuffer whatever \hbox{you} want \stopbuffer How do I identify a specific node? Like... \startbuffer Will this be \boxtobechanged

Re: [NTG-context] startbuffer fails with %

2010-01-06 Thread Hans Hagen
On 5-1-2010 15:27, H. van der Meer wrote: \startbuffer[ABC]% {} Braces at beginning fails with buffer \stopbuffer \starttext \getbuffer[ABC] \stoptext the buffer content is all lines between startbuffer and stopbuffer and both commands hav eto be on a line of their own with startbuffer having

[NTG-context] startbuffer fails with %

2010-01-05 Thread H. van der Meer
\startbuffer[ABC]% {} Braces at beginning fails with buffer \stopbuffer \starttext \getbuffer[ABC] \stoptext Error message: ! File ended while scanning use of \dododowithbuffer. inserted text \par Remove the {}'s at the beginning and all is well. The culprit however

[NTG-context] Can I use \startbuffer in other command?

2008-10-23 Thread Ruini Xue
- context/2007/025969.html Unfortunately, when I use \startbuffer in it, context prints * in the terminal and waits for input. So it comes to the second question 2. Can \startbuffer be used in other commands? My code is as following: \def\startabstract

Re: [NTG-context] Can I use \startbuffer in other command?

2008-10-23 Thread Wolfgang Schuster
this. I found a solution in the list: http://www.ntg.nl/pipermail/ntg- context/2007/025969.html Unfortunately, when I use \startbuffer in it, context prints * in the terminal and waits for input. So it comes to the second question 2. Can \startbuffer be used in other commands? My code